<template>
  <div class="iconList">
    <div class="iconItem">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-tuijian1"></use>
      </svg>
      <span>Recommend</span>
    </div>
    <div class="iconItem">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-diantaizhibo"></use>
      </svg>
      <span>MyFM</span>
    </div>
    <div class="iconItem">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-yinle"></use>
      </svg>
      <span>SongList</span>
    </div>
    <div class="iconItem">
      <svg class="icon" aria-hidden="true">
        <use xlink:href="#icon-shujupaihangbang"></use>
      </svg>
      <span>RankList</span>
    </div>
  </div>
</template>

<script>
export default {

}
</script>

<style lang="less" scoped>
.iconList {
  width: 95%;
  margin: .2rem auto;
  display: flex;
  justify-content: space-around;
  padding: 10px 5px;
  border-radius: .2rem;
  box-sizing: border-box;
  background-color: rgba(52, 215, 155, .3);

  .iconItem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-family: 'Courier New', Courier, monospace;

    .icon {
      width: .7rem;
      height:.7rem; 
      margin-bottom: 5px;
      border-radius: 10px;

      use {
        width: 100%;
      }
    }
  }
}
</style>